package com.shemy.mapper;

import com.shemy.entity.User;

import java.util.List;

public interface UserMapper {

    int save(User user);

    List<User> listAll();

    User findById(long id);

    int delete(long id);

    int update(User user);
}